﻿using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;

namespace Biz.Core.Models
{
    /// <summary>
    /// 用户信息 (VO模型)
    /// </summary>
    [Table("users")]
    public class UserVo
    {
        [JsonProperty("userId")]
        [Column("userId")]
        public int UserId { get; set; }

        [JsonProperty("fullName")]
        [Column("fullName")]
        public string FullName { get; set; }

        [JsonProperty("createTime")]
        [Column("createTime")]
        public DateTime CreateTime { get; set; }

        [JsonProperty("updateTime")]
        [Column("updateTime")]
        public DateTime UpdateTime { get; set; }
    }
}
